<select class="form-control input-sm master_kdobat" name="master_kdobat" id="master_kdobat" style="width:100px;" onchange="pilih_obat(this.value)" autofocus>
		<option value="">--Masukan Kode--</option>
		<?php 
		foreach ($apotik as $value) { ?>
			<option value="<?= $value['kd_obat'] ?>"><?= $value['kd_obat'] ?></option>
		<?php } ?>
</select>